<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <!--<div class="form-group">-->
    <!--    <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>-->
    <!--    <div class="col-xs-12 col-sm-8">-->
    <!--        <input id="c-user_id" data-rule="required" min="0" data-source="user/user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id|htmlentities}">-->
    <!--    </div>-->
    <!--</div>-->
    <!--<div class="form-group">-->
    <!--    <label class="control-label col-xs-12 col-sm-2">{:__('Applytype')}:</label>-->
    <!--    <div class="col-xs-12 col-sm-8">-->
                        
    <!--        <select  id="c-applytype" data-rule="required" class="form-control selectpicker" name="row[applytype]">-->
    <!--            {foreach name="applytypeList" item="vo"}-->
    <!--                <option value="{$key}" {in name="key" value="$row.applytype"}selected{/in}>{$vo}</option>-->
    <!--            {/foreach}-->
    <!--        </select>-->

    <!--    </div>-->
    <!--</div>-->
    <!--<div class="form-group">-->
    <!--    <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>-->
    <!--    <div class="col-xs-12 col-sm-8">-->
    <!--        <input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text" value="{$row.name|htmlentities}">-->
    <!--    </div>-->
    <!--</div>-->
    <!--<div class="form-group">-->
    <!--    <label class="control-label col-xs-12 col-sm-2">{:__('Type')}:</label>-->
    <!--    <div class="col-xs-12 col-sm-8">-->
                        
    <!--        <select  id="c-type" data-rule="required" min="0" class="form-control selectpicker" name="row[type]">-->
    <!--            {foreach name="typeList" item="vo"}-->
    <!--                <option value="{$key}" {in name="key" value="$row.type"}selected{/in}>{$vo}</option>-->
    <!--            {/foreach}-->
    <!--        </select>-->

    <!--    </div>-->
    <!--</div>-->
    <!--<div class="form-group">-->
    <!--    <label class="control-label col-xs-12 col-sm-2">{:__('Credit_code')}:</label>-->
    <!--    <div class="col-xs-12 col-sm-8">-->
    <!--        <input id="c-credit_code" data-rule="required" class="form-control" name="row[credit_code]" type="text" value="{$row.credit_code|htmlentities}">-->
    <!--    </div>-->
    <!--</div>-->
    <!--<div class="form-group">-->
    <!--    <label class="control-label col-xs-12 col-sm-2">{:__('License_image')}:</label>-->
    <!--    <div class="col-xs-12 col-sm-8">-->
    <!--        <div class="input-group">-->
    <!--            <input id="c-license_image" data-rule="required" class="form-control" size="50" name="row[license_image]" type="text" value="{$row.license_image|htmlentities}">-->
    <!--            <div class="input-group-addon no-border no-padding">-->
    <!--                <span><button type="button" id="faupload-license_image" class="btn btn-danger faupload" data-input-id="c-license_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-license_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>-->
    <!--                <span><button type="button" id="fachoose-license_image" class="btn btn-primary fachoose" data-input-id="c-license_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>-->
    <!--            </div>-->
    <!--            <span class="msg-box n-right" for="c-license_image"></span>-->
    <!--        </div>-->
    <!--        <ul class="row list-inline faupload-preview" id="p-license_image"></ul>-->
    <!--    </div>-->
    <!--</div>-->
    <!--<div class="form-group">-->
    <!--    <label class="control-label col-xs-12 col-sm-2">{:__('Username')}:</label>-->
    <!--    <div class="col-xs-12 col-sm-8">-->
    <!--        <input id="c-username" data-rule="required" class="form-control" name="row[username]" type="text" value="{$row.username|htmlentities}">-->
    <!--    </div>-->
    <!--</div>-->
    <!--<div class="form-group">-->
    <!--    <label class="control-label col-xs-12 col-sm-2">{:__('Mobile')}:</label>-->
    <!--    <div class="col-xs-12 col-sm-8">-->
    <!--        <input id="c-mobile" data-rule="required" class="form-control" name="row[mobile]" type="text" value="{$row.mobile|htmlentities}">-->
    <!--    </div>-->
    <!--</div>-->
    <!--<div class="form-group">-->
    <!--    <label class="control-label col-xs-12 col-sm-2">{:__('Idcard')}:</label>-->
    <!--    <div class="col-xs-12 col-sm-8">-->
    <!--        <input id="c-idcard" data-rule="required" class="form-control" name="row[idcard]" type="text" value="{$row.idcard|htmlentities}">-->
    <!--    </div>-->
    <!--</div>-->
    <!--<div class="form-group">-->
    <!--    <label class="control-label col-xs-12 col-sm-2">{:__('Front_image')}:</label>-->
    <!--    <div class="col-xs-12 col-sm-8">-->
    <!--        <div class="input-group">-->
    <!--            <input id="c-front_image" data-rule="required" class="form-control" size="50" name="row[front_image]" type="text" value="{$row.front_image|htmlentities}">-->
    <!--            <div class="input-group-addon no-border no-padding">-->
    <!--                <span><button type="button" id="faupload-front_image" class="btn btn-danger faupload" data-input-id="c-front_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-front_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>-->
    <!--                <span><button type="button" id="fachoose-front_image" class="btn btn-primary fachoose" data-input-id="c-front_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>-->
    <!--            </div>-->
    <!--            <span class="msg-box n-right" for="c-front_image"></span>-->
    <!--        </div>-->
    <!--        <ul class="row list-inline faupload-preview" id="p-front_image"></ul>-->
    <!--    </div>-->
    <!--</div>-->
    <!--<div class="form-group">-->
    <!--    <label class="control-label col-xs-12 col-sm-2">{:__('Opposite_image')}:</label>-->
    <!--    <div class="col-xs-12 col-sm-8">-->
    <!--        <div class="input-group">-->
    <!--            <input id="c-opposite_image" data-rule="required" class="form-control" size="50" name="row[opposite_image]" type="text" value="{$row.opposite_image|htmlentities}">-->
    <!--            <div class="input-group-addon no-border no-padding">-->
    <!--                <span><button type="button" id="faupload-opposite_image" class="btn btn-danger faupload" data-input-id="c-opposite_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-opposite_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>-->
    <!--                <span><button type="button" id="fachoose-opposite_image" class="btn btn-primary fachoose" data-input-id="c-opposite_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>-->
    <!--            </div>-->
    <!--            <span class="msg-box n-right" for="c-opposite_image"></span>-->
    <!--        </div>-->
    <!--        <ul class="row list-inline faupload-preview" id="p-opposite_image"></ul>-->
    <!--    </div>-->
    <!--</div>-->
    <!--<div class="form-group">-->
    <!--    <label class="control-label col-xs-12 col-sm-2">{:__('Intro')}:</label>-->
    <!--    <div class="col-xs-12 col-sm-8">-->
    <!--        <input id="c-intro" data-rule="required" class="form-control" name="row[intro]" type="text" value="{$row.intro|htmlentities}">-->
    <!--    </div>-->
    <!--</div>-->
    <!--<div class="form-group">-->
    <!--    <label class="control-label col-xs-12 col-sm-2">{:__('Logo_image')}:</label>-->
    <!--    <div class="col-xs-12 col-sm-8">-->
    <!--        <div class="input-group">-->
    <!--            <input id="c-logo_image" data-rule="required" class="form-control" size="50" name="row[logo_image]" type="text" value="{$row.logo_image|htmlentities}">-->
    <!--            <div class="input-group-addon no-border no-padding">-->
    <!--                <span><button type="button" id="faupload-logo_image" class="btn btn-danger faupload" data-input-id="c-logo_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-logo_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>-->
    <!--                <span><button type="button" id="fachoose-logo_image" class="btn btn-primary fachoose" data-input-id="c-logo_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>-->
    <!--            </div>-->
    <!--            <span class="msg-box n-right" for="c-logo_image"></span>-->
    <!--        </div>-->
    <!--        <ul class="row list-inline faupload-preview" id="p-logo_image"></ul>-->
    <!--    </div>-->
    <!--</div>-->
    <!--<div class="form-group">-->
    <!--    <label class="control-label col-xs-12 col-sm-2">{:__('Category_ids')}:</label>-->
    <!--    <div class="col-xs-12 col-sm-8">-->
    <!--        <input id="c-category_ids" data-rule="required" data-source="category/selectpage" data-params='{"custom[type]":"service_apply_shop"}' data-multiple="true" class="form-control selectpage" name="row[category_ids]" type="text" value="{$row.category_ids|htmlentities}">-->
    <!--    </div>-->
    <!--</div>-->
    <!--<div class="form-group">-->
    <!--    <label class="control-label col-xs-12 col-sm-2">{:__('Goods_ids')}:</label>-->
    <!--    <div class="col-xs-12 col-sm-8">-->
    <!--        <input id="c-goods_ids" data-rule="required" data-source="service/goods/index" data-multiple="true" class="form-control selectpage" name="row[goods_ids]" type="text" value="{$row.goods_ids|htmlentities}">-->
    <!--    </div>-->
    <!--</div>-->
    <!--<div class="form-group">-->
    <!--    <label class="control-label col-xs-12 col-sm-2">{:__('Leader_name')}:</label>-->
    <!--    <div class="col-xs-12 col-sm-8">-->
    <!--        <input id="c-leader_name" data-rule="required" class="form-control" name="row[leader_name]" type="text" value="{$row.leader_name|htmlentities}">-->
    <!--    </div>-->
    <!--</div>-->
    <!--<div class="form-group">-->
    <!--    <label class="control-label col-xs-12 col-sm-2">{:__('Leader_mobile')}:</label>-->
    <!--    <div class="col-xs-12 col-sm-8">-->
    <!--        <input id="c-leader_mobile" data-rule="required" class="form-control" name="row[leader_mobile]" type="text" value="{$row.leader_mobile|htmlentities}">-->
    <!--    </div>-->
    <!--</div>-->
<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('Province')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input id="c-province" data-rule="required" class="form-control" name="row[province]" type="text" value="{$row.province|htmlentities}">-->
<!--        </div>-->
<!--    </div>-->
<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('City')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <div class='control-relative'><input id="c-city" data-rule="required" class="form-control" data-toggle="city-picker" name="row[city]" type="text" value="{$row.city|htmlentities}"></div>-->
<!--        </div>-->
<!--    </div>-->
<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('District')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input id="c-district" class="form-control" name="row[district]" type="text" value="{$row.district|htmlentities}">-->
<!--        </div>-->
<!--    </div>-->
<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('Address')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input id="c-address" data-rule="required" class="form-control" name="row[address]" type="text" value="{$row.address|htmlentities}">-->
<!--        </div>-->
<!--    </div>-->
<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('Lng')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input id="c-lng" data-rule="required" class="form-control" name="row[lng]" type="text" value="{$row.lng|htmlentities}">-->
<!--        </div>-->
<!--    </div>-->
<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('Lat')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input id="c-lat" data-rule="required" class="form-control" name="row[lat]" type="text" value="{$row.lat|htmlentities}">-->
<!--        </div>-->
<!--    </div>-->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('State')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="stateList" item="vo"}
            <label for="row[state]-{$key}"><input id="row[state]-{$key}" name="row[state]" type="radio" value="{$key}" {in name="key" value="$row.state"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Note')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-note" class="form-control" name="row[note]" type="text" value="{$row.note|htmlentities}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
